package com.xinghai.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinghai.common.annotation.Excel;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 用车申请实例任务对象 xh_driver_info_apply_record
 * 
 * @author smy
 * @date 2024-07-25
 */
@Data
public class XhVehicleInfoApplyRecord
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 用车任务id */
    @Excel(name = "用车任务id")
    private Long vehicleId;

    /** 事件id */
    @Excel(name = "事件id")
    private String eventId;

    /** 处理开始时间 */
    private Long createTime;

    /** 处理完成时间 */
    private Long finishTime;

    /** 处理开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "处理开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTimeDate;

    /** 处理完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "处理完成时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime finishTimeDate;

    /** 企业corpId */
    @Excel(name = "企业corpId")
    private String corpId;

    /** 资源内容 */
    @Excel(name = "资源内容")
    private String resource;

    /** 事件类型 */
    @Excel(name = "事件类型")
    private String eventType;

    /** 流程实例业务标识 */
    @Excel(name = "流程实例业务标识")
    private String businessId;

    /** 审批节点名称 */
    @Excel(name = "审批节点名称")
    private String activityName;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 实例状态变更类型 */
    @Excel(name = "实例状态变更类型")
    private String type;

    /** 结果 */
    @Excel(name = "结果")
    private String result;

    /** 任务节点ID;关联xh_driver_info_record表activityId */
    @Excel(name = "任务节点ID;关联xh_driver_info_record表activityId")
    private String activityId;

    /** 流程模板code */
    @Excel(name = "流程模板code")
    private String processCode;

    /** 任务ID */
    @Excel(name = "任务ID")
    private String taskId;

    /** 其他 */
    @Excel(name = "其他")
    private String bizCategoryId;

    /** 处理人id */
    @Excel(name = "处理人id")
    private String staffId;

    /** 处理意见 */
    @Excel(name = "处理意见")
    private String remark;
}
